fix: outbox wakeup과 read model projection 순서 안정화 - #206
Merged
Conversation
Collaborator
Author
|
@codex review |
|
Codex Review: Didn't find any major issues. You're on a roll. ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
If Codex has suggestions, it will comment; otherwise it will react with 👍. Codex can also answer questions or update the PR. Try commenting "@codex address that feedback". |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
🛰️ Issue Number
🪐 작업 내용
outboxId직접 처리 명령이 아니라 relay 실행 신호로 변경했습니다.createdAt ASC, id ASC로 변경해createdAt동률에서도 결정적인 처리 순서를 보장했습니다.DocListReadModel에 title, activity, thumbnail, deleted 필드별 projection marker를 추가했습니다.lastProjectedEventId를 fallback 기준선으로 사용해 기존 값이 오래된 이벤트로 덮이지 않도록 했습니다.updatedAt은 과거로 되돌아가지 않도록 max 정책을 적용했습니다.📚 Reference
docs/superpowers/specs/2026-06-06-read-model-projection-ordering-design.mddocs/superpowers/plans/2026-06-06-read-model-projection-ordering-plan.md🤖 AI 보조 작업 기록
id ASCtie-breaker를 추가했습니다.createdAt동률 시 DB 반환 순서에 의존하지 않기 위함입니다.lastProjectedEventIdfallback을 유지했습니다.DocListProjector하나라 과한 설계로 판단했습니다.bash ./gradlew test --tests io.ejangs.docsa.domain.doc.readmodel.app.DocListProjectorUnitTest --tests io.ejangs.docsa.domain.doc.readmodel.app.DocListProjectorIntegrationTest --tests io.ejangs.docsa.global.outbox.event.app.DomainEventOutboxRelayIntegrationTestbash ./gradlew compileJava compileTestJavagit diff --check✅ Check List